@import'./modules/base';
@import'./modules/header.scss';
@import'./modules/floatbar.scss';
@import'./modules/footer.scss';

// location
.Location{
    height: 44px;
}

// step
.step{
    width: 100%;
    height: 31px;
    line-height: 31px;
    background: url(/images/stepbg.jpg) no-repeat left top;
    li{
        float: left;
        width: 25%;
        text-align: center;
        font-size: 14px;
    }
    .change{
        color: #fff;
    }
}

// nothing
.nothing{
    height: 381px;
    display: none;
    overflow: hidden;
    .wrap-box{
        width: 438px;
        height: 130px;
        display: flex;
        margin: 0 auto;
        margin-top: 115px;
        .wrap-box-right{
            display: flex;
            flex-direction: column;
            justify-content: center;
            margin-left: 24px;
            p{
                font-size: 16px;
                height: 16px;
                line-height: 16px;
                margin-bottom: 7px;
                color: #333333;
            }
            a{
                display: flex;
                justify-content: center;
                align-items: center;
                width: 80px;
                height: 30px;
                background-color: #dc5551;
                font-size: 12px;
                color: #fff;
                
            }
        }
    }
}

// 有东西时
.CartProduct{
    margin-bottom: 30px;
    display: none;
    .cart-p-list{
        width: 1198px;
        border: 1px solid #c7c7c7;
        border-bottom: 0px;
        border-spacing: 0;
        thead{
            background-color: #e6e4e5;
            tr{
                height: 45px;
                th{
                    font-size: 14px;
                    color: #333333;
                    &:nth-child(1){
                        height: 36px;
                        width: 140px;
                        line-height: 36px;
                        text-align: center;
                        input{
                            width: 20px;
                            height: 20px;
                        }
                    }
                    &:nth-child(2){
                        width: 360px;
                    }
                    &:nth-child(3){
                        width: 237px;
                    }
                    &:nth-child(4){
                        width: 357px;
                    }
                    &:nth-child(4){
                        width: 102px;
                    }
                }
            }
        }
        tbody{
            tr{
                height: 152px;
                background-color: #f9f9f9;
                td{
                    border-bottom: 1px solid #c7c7c7;
                    &:nth-child(1){
                        height: 151px;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        input{
                            width: 20px;
                            height: 20px;

                        }
                    }
                    &:nth-child(2){
                        .cartlist-product{
                            margin-left: 20px;
                            height: 118px;
                            display: flex;
                            img{
                                width: 116px;
                                height: 116px;
                                border:1px solid #cccccc;
                                margin-right: 39px;
                            }
                            strong{
                                display: block;
                                font-size: 13px;
                                height: 13px;
                                line-height: 13px;
                                margin-top: 34px;
                                margin-bottom: 12px;
                                a{
                                    color: #4f4f4f;
                                }
                            }
                            p{
                                font-size: 13px;
                                color: #333333;
                                span{
                                    color: #e9004f;
                                }
                            }
                        }
                    }
                    &:nth-child(3){
                        p{
                            width: 50px;
                            height: 12px;
                            font-size: 12px;
                            line-height: 12px;
                            color: #e9004f;
                            font-weight: 700;
                            margin: 0 auto;
                        }
                    }
                    &:nth-child(4){
                        .num-calc{
                            width: 75px;
                            height: 21px;
                            border: 1px solid #cccccc;
                            font-size: 12px;
                            line-height: 21px;
                            display: flex;
                            margin: 0 auto;
                            div{
                                width: 21px;
                                height: 21px;
                                background-color: #f0f0f0;
                                text-align: center;
                                cursor: pointer;
                            }
                            .num-show{
                                width: 31px;
                                border-left: 1px solid #cccccc;
                                border-right: 1px solid #cccccc;
                                background-color: #fff;
                            }
                        }
                    }
                    &:nth-child(5){
                        a{
                            display: block;
                            width: 48px;
                            height: 16px;
                            line-height: 16px;
                            font-size: 14px;
                            font-weight: 600;
                            text-align: right;
                            background: url(/images/icon_del.gif) no-repeat left center;
                            margin: 0 auto;
                            color: #4f4f4f;
                        }
                    }
                }
                &:hover{
                    background-color: #fff;
                }
            }
        }
    }

    // 价格计算
    .end-calc{
        height: 175px;
        .calc-box{
            width: 340px;
            height: 175px;
            float: right;
            h3{
                height: 35px;
                line-height: 35px;
                border-bottom: 1px solid #c7c7c7;
                font-size: 13px;
                font-weight: 500;
                color: #333333;
            }
            dl{
                display: flex;
                justify-content: space-between;
                align-items: center;
                font-size: 12px;
                color: #333333;
                dt{
                    height: 31px;
                    line-height: 31px;
                }
                &:nth-child(3){
                    dd{
                        color: #cb0251;
                    }
                }
            }
            .zongji{
                border-top: 1px solid #c7c7c7;
                height: 33px;
                line-height: 33px;
                font-size: 12px;
            }
            .btn-rest{
                height: 30px;
                margin-top: 13px;
                a{
                    display: block;
                    float:right;
                    margin-left: 27px;
                    width: 80px;
                    height: 30px;
                    line-height: 30px;
                    text-align: center;
                    font-size: 12px;
                    color: #fff;
                    background-color: #de5356;
                }
            }
        }
    }
}